#ifndef _TREE_H_
#define _TREE_H_

#include "stdafx.h"
#include "Joint.h"

namespace aiRobots
{
	class Tree
	{
	private:

	protected:

	public:
		typedef Tree Node;
		Node* Parent;
		Node* Sibling;
		Node* Child;

		Tree();
		Tree(Node parent);
		~Tree();

		bool IsRoot();
		bool IsLeaf();

		void InsertChild(Node* child);
		void InserSibling(Node* sibling);
	}
}

#endif
